﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonjourHotel.Model;

namespace BonjourHotel.Core.Rooms
{
    public class RoomTypeFacade : FacadeBase<RoomType>
    {
        public List<RoomType> GetAllTypes()
        {
            var RoomTypes = from types in base.ObjectContext.RoomTypes
                            select types;

            return RoomTypes.ToList();
        }
    }
}
